import axiosInstance from './axiso';
export function add(data: any) {
  return axiosInstance.post<any>('/button/add', data);
}

export function buttonList(data: any) {
  return axiosInstance.get<any>('/button/list', data);
}

export function edit(data: any) {
    return axiosInstance.post<any>('/button/edit', data);
}

export function del(data: any) {
  return axiosInstance.post<any>('/button/del', data);
}

export function buttonListAll(data: any) {
  return axiosInstance.get<any>('/button/list_all',data);
}